<template>
<Card :dis-hover="true" style="width:100%">
  <P slot="title">titleCard</P>
  <span slot="extra">
    <Icon type="md-print" @click.native="print"></Icon>
  </span>
  <a4page ref="printArea" style="width:800px">
    <slot></slot>
  </a4page>

</Card>
</template>

<script>
import CfgForm from "../form/cfgForm";
import A4page from "../report/aFourPage";
export default {
  name: "cfg-form-list",
  components: {A4page, CfgForm},
  data(){
    return {

    }
  },
  methods:{
    print(){
      this.$print(this.$refs.printArea);
    }
  }
}
</script>

<style scoped>

</style>